extends Control

class_name WeaponInfo

var weapon_featured setget set_featured_weapon

func set_featured_weapon(_w):
	weapon_featured = _w
	$Panel/HBoxContainer/WeaponImage.texture = _w.get_sprite()
	var B : Bullet = _w.BulletScene.instance()
	$Panel/HBoxContainer/BulletImage.texture = B.get_sprite()
